/*
 * Copyright (C) 2017-2021
 * All rights reserved, Designed By
 * Copyright authorization contact 18814114118
 */
package com.shop.cereshop.commons.domain.wallet;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * cere_wallet_recharge 钱包充值实体类
 * @author
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "CereWalletRecharge", description = "钱包充值实体类")
public class CereWalletRecharge implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 充值ID
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "充值ID")
    private Long rechargeId;

    /**
     * 用户ID
     */
    @ApiModelProperty(value = "用户ID")
    private Long buyerUserId;

    /**
     * 充值单号
     */
    @ApiModelProperty(value = "充值单号")
    private String rechargeNo;

    /**
     * 充值金额
     */
    @ApiModelProperty(value = "充值金额")
    private BigDecimal amount;

    /**
     * 支付方式 1-微信支付 2-支付宝支付 3-银行卡
     */
    @ApiModelProperty(value = "支付方式")
    private Integer paymentMethod;

    /**
     * 支付状态 0-待支付 1-支付成功 2-支付失败 3-已取消
     */
    @ApiModelProperty(value = "支付状态")
    private Integer paymentStatus;

    /**
     * 第三方支付订单号
     */
    @ApiModelProperty(value = "第三方支付订单号")
    private String thirdPartyOrderNo;

    /**
     * 支付时间
     */
    @ApiModelProperty(value = "支付时间")
    private String paymentTime;

    /**
     * 过期时间
     */
    @ApiModelProperty(value = "过期时间")
    private String expireTime;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private String createTime;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    private String updateTime;
}
